package com.cloud.job.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloud.api.domain.job.VehicleMileage;
import com.cloud.api.domain.job.VehicleRunningData;

import java.util.List;

/**
 * @author 杨斌
 * 2024-03-4/3/2024
 */
@DS("doris")
public interface VehicleRunningDataMapper extends BaseMapper<VehicleRunningData> {

    List<VehicleMileage> getVehicleMileages(String dataSource);

    IPage<VehicleMileage> getVehicleMileage(Page<VehicleMileage> page, String dataSource);
}
